﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

//buddy
using Zeta;
using Zeta.Common;
using Zeta.CommonBot;
using Zeta.Common.Plugins;
using Zeta.Internals;
using Zeta.Internals.Actors;
using Zeta.Internals.Service;

namespace BossHog.ProfileBuilder
{
    public class CommentElement: IProfileChildElement,IOrderChildElement
    {
        public CommentElement() { }
        public string commentText { get; set; }
        public override string ToString()
        {
            return string.Format("<!--{0}-->", commentText);
        }
        public void Write(System.Xml.XmlTextWriter w)
        {
            w.WriteComment(commentText);
        }

    }
}
